db08282a8dcd3286916ad710c98861d305f7652a,jstorm-ui/src/main/java/com/alibaba/jstorm/ui/model/data/BoltPage.java,BoltPage,init,#,272
Before Change
try {
Map conf = UIUtils.readUiConfig();
if(clusterName != null && !(clusterName.equals(""))) {
UIUtils.getClusterInfoByName(conf, clusterName);
}
client = NimbusClient.getConfiguredClient(conf);
TopologyInfo summ = client.getClient().getTopologyInfo(topologyid);
StormTopology topology = client.getClient().getTopology(topologyid);
After Change
try {
Map conf = UIUtils.readUiConfig();
client = UIUtils.getNimbusClient(conf, clusterName);
TopologyInfo summ = client.getClient().getTopologyInfo(topologyid);
StormTopology topology = client.getClient().getTopology(topologyid);